<ng-template #template let-notification>
   <div *ngIf="FR_MESSAGE.SHOWTYPE==='1'">
    <div class="ant-notification-notice-content">
      <div>
        <div class="ant-notification-notice-message" style="font-size: large;" [ngStyle]="style">{{ FR_MESSAGE.XTITLE }}</div>
        <div class="ant-notification-notice-description">
          {{ XCONTENT}}
        </div>
        <span class="ant-notification-notice-btn">
          <button nz-button nzType="primary" nzSize="small" (click)="click(notification.close())">
            <span>立即查看</span>
          </button>
        </span>
      </div>
    </div>
   </div>  

   <div *ngIf="FR_MESSAGE.SHOWTYPE==='2'">
    <div class="ant-notification-notice-content">
      <div>
        <div class="ant-notification-notice-message" style="font-size: large;" [ngStyle]="style">{{ FR_MESSAGE.XTITLE }}</div>
        <div class="ant-notification-notice-description">
          <div>
            您有待办业务，请点击以下链接：
          </div>
          <div style="margin-top: 10px;">
            <a [routerLink]="FR_MESSAGE.XCONTENT">{{ FR_MESSAGE.XCONTENT}}</a>
          </div>
        </div>
        
      </div>
    </div>
   </div>  
</ng-template>

<button nz-button [nzType]="'primary'" (click)="openNotification(template)">
  开启消息提示
</button>
